<!DOCTYPE html>
<html lang="en">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title>选择支付方式</title>
        <meta content="telephone=no,email=no,address=no" name="format-detection" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
        <meta name="msapplication-tap-highlight" content="no" />
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <meta name="apple-mobile-web-app-status-bar-style" content="black" />
        <meta name="wap-font-scale" content="no" />

        <link rel="stylesheet" type="text/css" href="__CSS__pay/common.css?version={:config('version')}" />
        <link rel="stylesheet" type="text/css" href="__CSS__pay/confirm_order.css?version={:config('version')}" />
        <link rel="stylesheet" type="text/css" href="__CSS__color.css?version={:config('version')}" />
        <script type="text/javascript" src="__JS__jquery.js?v={:config('version')}"></script>
        <script type="text/javascript" src="__JS__jquery.form.js?v={:config('version')}"></script>
        <script type="text/javascript" src="__JS__common.js?v={:config('version')}"></script>
        <script type="text/javascript" src="__JS__base.js?v={:config('version')}"></script>
        <script type="text/javascript" src="__JS__rootfont.js?v={:config('version')}"></script>
        <script type="text/javascript" src="__JS__swiper.min.js?v={:config('version')}"></script>
        <script type="text/javascript" src="__JS__layer/layer.js?v={:config('version')}"></script>
        <script type="text/javascript" src="__JS__laydate/laydate.js?v={:config('version')}"></script>
        <script type="text/javascript" src="__JS__order/billmodeselect.js?v={:config('version')}"></script>
    </head>
    <body>
        <div class="payment wrap">

            {if condition="$end_time != 2"}

            {if condition="($services == 1) || ($services == 2)"}
            <p class="color6">平台支付</p>
            <ul class="list">
                {if condition="$services == 1"}
                <li class="clearfix cur select" services="1">
                    <img class="fl" src="__IMAGES__weixin_icon.png" alt="微信支付" />
                    <p class="fl">
                        <b>微信支付</b>
                        <span>微信安全支付</span>
                    </p>
                    <span class="radio"></span>
                </li>
                {/if}
                {if condition="$services == 2"}
                <li class="clearfix cur select" services="2">
                    <img class="fl" src="__IMAGES__zhifub_icon.png" alt="支付宝支付" />
                    <p class="fl">
                        <b>支付宝支付</b>
                        <span>支付宝认证支付</span>
                    </p>
                    <span class="radio"></span>
                </li>
                {/if}
            </ul>
            {/if}
            <p class="color6">银行支付</p>
            <ul class="list yinlian">
                <li class="clearfix {if condition='$services == 3'}cur{/if}" services="3">
                    <img class="fl" src="__IMAGES__yinlian_icon.png" alt="银联支付" />
                    <p class="fl">
                        <b>银联支付</b>
                    </p>
                    <span class="radio"></span>
                </li>
            </ul>

            {/if}
            <!-- {notin name="type" value="5,4"} -->
            {if condition="((($type != 4) AND ($type != 5)) OR $partnerProduct['p_is_fenqi'] == 1) and $data['order_type'] != 6"}
                <p class="color6 hide2">账单管理</p>
                <ul class="list hide2">
                    {if condition="$sh_status == 2"}
                    <!--<li class="clearfix select" services="4" id="bank_bill" style="display:none;">-->
                        <!--<img class="fl" src="__IMAGES__jgjj_name_icon_fh.png" alt="银行账单" />-->
                        <!--<p class="fl">-->
                            <!--<b>持牌金融机构账单</b>-->
                            <!--<span>按月交学费，让缴费变得更轻松</span>-->
                        <!--</p>-->
                        <!--<span class="radio"></span>-->
                    <!--</li>-->
                    {/if}
                    <li class="clearfix select {if condition='$end_time == 2'}cur{/if}" services="5" id="ant_bill" style="display:none;">
                        <img class="fl" src="__IMAGES__jgjj_name_icon.png" alt="蚂蚁账单" />
                        <p class="fl">
                            <b>蚂蚁账单</b>
                            <span>按月交学费，让缴费变得更轻松</span>
                        </p>
                        <span class="radio"></span>
                    </li>
                </ul>
            {/if}
            <!-- {/notin} -->
        </div>
        <!-- 支付类型 -->
        <input type="hidden" name="" id="typePay" value="{$type}">
        <!-- 订单类型 -->
        <input type="hidden" name="" id="orderType" value="{$data['order_type']}">
        <!-- 课程是否支持账单模式 -->
        <input type="hidden" name="" id="p_is_fenqi" value="{$partnerProduct['p_is_fenqi']}">
        <footer>
            <div class="footer clearfix">
                <p class="price fl orange-color">{if condition="$data['order_type'] == 6"}保险{/if}支付：¥{$data['amount']}</p>
                <input type="hidden" name="services" id="services" value="{$services}">
                <!--持牌金融机构账单-->
                <!--课程名称-->
                <input type="hidden" name="p_name" id="p_name" value="{$data['product_name']}">
                <!--金额-->
                <input type="hidden" name="b_borrow_amount" id="b_borrow_amount" value="{$partnerProduct['p_set_amount']}">

                <button class="pay-btn fr" u_code="{$data['u_code']}" order_num="{$data['order_num']}"  id="payClick">确认提交</button>
            </div>
        </footer>
    </body>
</html>
<script type="text/javascript">
     $(".list li").click(function(){
        $(this).addClass("cur").siblings().removeClass("cur");
        $(this).parent().siblings().find("li").removeClass("cur");
        var ser = $(this).attr('services');
        $("#services").val(ser);
     });
</script>

<script type="text/javascript" src="__JS__pay/select_pay.js?v={:config('version')}"></script>
{include file="footer" /}
